<?php use_helper("CrossAppsURL"); ?>
<script language="javascript" type="text/javascript">
<!--
function chatPopUp(url) {
	newwindow=window.open(url,'name','height=440,width=680');
	if (window.focus) {newwindow.focus()}
	return false;
}

// -->
</script>
<div style="display:table; margin: 0 auto;">
<div id="lf-nav">
</div>
<div id="repeat-nav" class="sonic-title-font">
    <a href="<?php echo url_for('@homepage') ?>">accueil</a>  <a href="<?php echo url_for("player_list")?>">joueurs</a> <a href="<?php echo url_for("artefact_list")?>">artefacts</a>  <a href="<?php echo url_for("fiche_list")?>">personnages</a>  <?php if(!$sf_user->isAuthenticated()): ?><a href=" <?php echo url_for('sf_guard_signin') ?>">connexion</a>  <a style="color: orangered;" href=" <?php echo url_for('sf_guard_register') ?>">inscription</a><?php endif ?>
        <?php if($sf_user->isAuthenticated()): ?>
            <a class="profil-a" href="<?php echo url_for('show_player', $sf_user->getGuardUser()) ?>">
            profil
            </a>
            <a id="display-player-menu" href="#">
                menu
            </a>
            <a href=" <?php echo url_for('sf_guard_signout') ?>">
                deconnexion
            </a>
            <?php endif ?>
            <a  href="http://mobius.planete-sonic.com/irc/index.php" onclick="return chatPopUp('http://mobius.planete-sonic.com/irc/index.php')" >
                chat
            </a>
</div>
<div id="rg-nav">
    
</div>
</div>
